package com.tianruan.dc.common.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @PS
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.mail")
public class MailProperty {

    private String host;
    private String port;
    private String username;
    private String password;
    private String defaultEncoding;

}
